import { request } from '@/utils/ajax.js'
// 登陆接口
export const sendSmsMessage = (param) => request('/api/alwaysMessage/sendMessage',param)
export const login = (param) => request('/api/alwaysMessage/smsLoginMap',param)
export const getuser = (param) => request('/api/alwaysMessage/getuser',param)

export const monitorUser = (param) => request('/api/always/monitordy',param)
export const monitorH5 = (param) => request('/api/always/monitorH5',param)

// token换取用户信息sys/user/getUserByToken
// export const getUserInfo = (token) => request('/sys/user/getUserByToken',{},'GET')
// // 获取用户权限 /sys/menu/appNav
// export const getQx = () => request('/sys/menu/appNav',{},'GET')